package ckw.database.repositories;

import org.springframework.data.jpa.repository.JpaRepository;
import org.springframework.transaction.annotation.Transactional;

import ckw.database.model.Election;
import ckw.database.model.ElectionNode;
import ckw.database.model.Node;

@Transactional
public interface ElectionNodeRepository extends JpaRepository<ElectionNode, Long> {

	public ElectionNode findByElectionAndNode(Election election, Node node);

}
